<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html"%>
<%@ taglib prefix="bean" uri="http://struts.apache.org/tags-bean"%>
<%@ taglib prefix="logic" uri="http://struts.apache.org/tags-logic"%>
<%@ taglib prefix="core" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="display" uri="http://displaytag.sf.net"%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
		<script>
			function showHideSubMenu(ele, menu) {
				if(ele.className == "expanded") {
					ele.className = "collapsed";
					document.getElementById(menu).style.display = "none";
				}
				else {
					
					ele.className = "expanded";
					document.getElementById(menu).style.display = "block";
				}
			}
			$(document).click(function() {
				document.getElementById("ui-id-1").style.display = "none";
			});
		</script>
</head>
<body>
	<div id="pimleftmenu">
		<div style="width:92%;height:200px;overflow:hidden;" id="currentImage">
			<center>
				<a href="./CandidatePicture?canId=<% out.print(request.getAttribute("can_id")); %>">
					<img width="150" height="180" border="0" id="empPic" src="./CandidatePicture?canId=<% out.print(request.getAttribute("can_id")); %>" alt="CV Picture"/>
				</a>
			</center>
			<center>
				<span style="clear: both" class="smallHelpText"><strong><% out.print(request.getAttribute("can_fullname")); %></strong></span>
			</center>
		</div>

		<ul class="pimleftmenu">
			<li class="l1 parent">
				<a onclick="showHideSubMenu(this, 'personal');" class="expanded" href="#">
					<span class="parent personal">Personal</span></a>
				<ul class="l2" id="personal">
					<li class="l2">
						<a accesskey="p" class="personal" id="personalLink" href="candidateUpdate.do?id=<% out.print(request.getAttribute("can_id")); %>">
							<span>Personal Information</span></a></li>
					
					<li class="l2">
						<a accesskey="r" class="employment" id="report-toLink" href="canEducationList.do?id=<% out.print(request.getAttribute("can_id")); %>">
							<span>Education</span></a></li> 
							
					<li class="l2">
						<a accesskey="r" class="employment" id="report-toLink" href="canSkillList.do?id=<% out.print(request.getAttribute("can_id")); %>">
							<span>Skills</span></a></li> 
					
					<li class="l2">
						<a accesskey="r" class="employment" id="report-toLink" href="canLanguageList.do?id=<% out.print(request.getAttribute("can_id")); %>">
							<span>Languages</span></a></li> 
							
					<li class="l2">
						<a accesskey="r" class="employment" id="report-toLink" href="canLicenseList.do?id=<% out.print(request.getAttribute("can_id")); %>">
							<span>Licenses</span></a></li> 
							
					<li class="l2">
						<a accesskey="r" class="employment" id="report-toLink" href="canExperienceList.do?id=<% out.print(request.getAttribute("can_id")); %>">
							<span>Work Experience</span></a></li> 
					<li class="l2">
						<a accesskey="r" class="employment" id="report-toLink" href="./CandidateCV?canId=<% out.print(request.getAttribute("can_id")); %>">
							<span>Curriculum Vitae</span></a></li> 
					
					</ul>
				</li> 
		</ul>
	</div>
</body>
</html>